package com.blockmeta.bbs.businesslibrary.pojo;

import android.text.TextUtils;

import com.google.gson.annotations.SerializedName;

/**
 * Created by author on 2018/3/10.
 */

public class EcodePOJO {
    /**
     * applyid : 2877
     * tid : 131143
     * username : SuperY
     * uid : 159140
     * message :
     * verified : 1
     * dateline : 1519903540
     * payment : -1
     * ufielddata : {"realname":{"key":"realname","value":"袁林岳","title":"真实姓名"},"mobile":{"key":"mobile","value":"17606525065","title":"手机"},"company":{"key":"company","value":"趣会","title":"公司"},"position":{"key":"position","value":"开发","title":"职位"},"field1":{"key":"field1","value":"i@q.com","title":"邮箱"}}
     * payment_status : 0
     * qrcode : 6F8F2B477384754B
     * qrcode_status : 0
     * subject : 2018全球区块链（杭州）高峰论坛[杭州]
     * qrcode_url : http://8btc.com/static/img/qrcode/app/131143/6F8F2B477384754B.jpg
     * activity : {"tid":131143,"uid":"6032","aid":"268681","cost":"0","starttimefrom":"1522024200","starttimeto":"1522056600","place":"杭州国际博览中心（G20会馆）","class":"峰会","gender":"0","number":"1000","applynumber":"239","expiration":"","ufield":{"realname":{"key":"realname","title":"真实姓名"},"mobile":{"key":"mobile","title":"手机"},"company":{"key":"company","title":"公司"},"position":{"key":"position","title":"职位"},"field1":{"key":"field1","title":"邮箱"}},"credit":"0","guest":"","thumb":"http://8btc.com/data/attachment/forum/201802/13/160051zt00wiaz6tdlvt2e.png","attachurl":"http://8btc.com/data/attachment/forum/201802/13/160051zt00wiaz6tdlvt2e.png","width":"1000","author_info":{"mPostName":"6032","name":"活动发布","desc":"","avatar":"http://8btc.com/uc_server/data/avatar/000/00/60/32_avatar_middle.jpg"}}
     */

    private String applyid;
    private String tid;
    private String username;
    private String uid;
    private String message;
    private String verified;
    private String dateline;
    private String payment;
    private UfielddataBean ufielddata;
    private String payment_status;
    private String qrcode;
    private String qrcode_status;
    private String subject;
    private String qrcode_url;
    private ActivityBean activity;
    private String count;
    public ExtradataBean getExtradata() {
        return extradata;
    }

    public void setExtradata(ExtradataBean extradata) {
        this.extradata = extradata;
    }

    private ExtradataBean extradata;
    public static class ExtradataBean {
        /**
         * seat_info : {"region":"D","seat":"18排14列"}
         */

        private ExtradataBean.SeatInfoBean seat_info;

        public ExtradataBean.SeatInfoBean getSeat_info() {
            return seat_info;
        }

        public void setSeat_info(ExtradataBean.SeatInfoBean seat_info) {
            this.seat_info = seat_info;
        }

        public static class SeatInfoBean {
            /**
             * region : D
             * seat : 18排14列
             */

            private String region;
            private String seat;

            public String getRegion() {
                return region;
            }

            public void setRegion(String region) {
                this.region = region;
            }

            public String getSeat() {
                return seat;
            }

            public void setSeat(String seat) {
                this.seat = seat;
            }
        }
    }


    public String getApplyid() {
        return applyid;
    }

    public void setApplyid(String applyid) {
        this.applyid = applyid;
    }

    public String getTid() {
        return tid;
    }

    public void setTid(String tid) {
        this.tid = tid;
    }

    public String getCount() {
        return TextUtils.isEmpty(count)?"1":count;
    }

    public void setCount(String count) {
        this.count = count;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getUid() {
        return uid;
    }

    public void setUid(String uid) {
        this.uid = uid;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public String getVerified() {
        return verified;
    }

    public void setVerified(String verified) {
        this.verified = verified;
    }

    public String getDateline() {
        return dateline;
    }

    public void setDateline(String dateline) {
        this.dateline = dateline;
    }

    public String getPayment() {
        return payment;
    }

    public void setPayment(String payment) {
        this.payment = payment;
    }

    public UfielddataBean getUfielddata() {
        return ufielddata;
    }

    public void setUfielddata(UfielddataBean ufielddata) {
        this.ufielddata = ufielddata;
    }

    public String getPayment_status() {
        return payment_status;
    }

    public void setPayment_status(String payment_status) {
        this.payment_status = payment_status;
    }

    public String getQrcode() {
        return qrcode;
    }

    public void setQrcode(String qrcode) {
        this.qrcode = qrcode;
    }

    public String getQrcode_status() {
        return qrcode_status;
    }

    public void setQrcode_status(String qrcode_status) {
        this.qrcode_status = qrcode_status;
    }

    public String getSubject() {
        return subject;
    }

    public void setSubject(String subject) {
        this.subject = subject;
    }

    public String getQrcode_url() {
        return qrcode_url;
    }

    public void setQrcode_url(String qrcode_url) {
        this.qrcode_url = qrcode_url;
    }

    public ActivityBean getActivity() {
        return activity;
    }

    public void setActivity(ActivityBean activity) {
        this.activity = activity;
    }

    public static class UfielddataBean {
        /**
         * realname : {"key":"realname","value":"袁林岳","title":"真实姓名"}
         * mobile : {"key":"mobile","value":"17606525065","title":"手机"}
         * company : {"key":"company","value":"趣会","title":"公司"}
         * position : {"key":"position","value":"开发","title":"职位"}
         * field1 : {"key":"field1","value":"i@q.com","title":"邮箱"}
         */


    }

    public static class ActivityBean {
        /**
         * tid : 131143
         * uid : 6032
         * aid : 268681
         * cost : 0
         * starttimefrom : 1522024200
         * starttimeto : 1522056600
         * place : 杭州国际博览中心（G20会馆）
         * class : 峰会
         * gender : 0
         * number : 1000
         * applynumber : 239
         * expiration :
         * ufield : {"realname":{"key":"realname","title":"真实姓名"},"mobile":{"key":"mobile","title":"手机"},"company":{"key":"company","title":"公司"},"position":{"key":"position","title":"职位"},"field1":{"key":"field1","title":"邮箱"}}
         * credit : 0
         * guest :
         * thumb : http://8btc.com/data/attachment/forum/201802/13/160051zt00wiaz6tdlvt2e.png
         * attachurl : http://8btc.com/data/attachment/forum/201802/13/160051zt00wiaz6tdlvt2e.png
         * width : 1000
         * author_info : {"mPostName":"6032","name":"活动发布","desc":"","avatar":"http://8btc.com/uc_server/data/avatar/000/00/60/32_avatar_middle.jpg"}
         */

        private int tid;
        private String uid;
        private String aid;
        private String cost;
        private String starttimefrom;
        private String starttimeto;
        private String place;
        @SerializedName("class")
        private String classX;
        private String gender;
        private String number;
        private String applynumber;
        private String expiration;
        private UfieldBean ufield;
        private String credit;
        private String guest;
        private String thumb;
        private String attachurl;
        private String width;
        private AuthorInfoBean author_info;

        public int getTid() {
            return tid;
        }

        public void setTid(int tid) {
            this.tid = tid;
        }

        public String getUid() {
            return uid;
        }

        public void setUid(String uid) {
            this.uid = uid;
        }

        public String getAid() {
            return aid;
        }

        public void setAid(String aid) {
            this.aid = aid;
        }

        public String getCost() {
            return cost;
        }

        public void setCost(String cost) {
            this.cost = cost;
        }

        public String getStarttimefrom() {
            return starttimefrom;
        }

        public void setStarttimefrom(String starttimefrom) {
            this.starttimefrom = starttimefrom;
        }

        public String getStarttimeto() {
            return starttimeto;
        }

        public void setStarttimeto(String starttimeto) {
            this.starttimeto = starttimeto;
        }

        public String getPlace() {
            return place;
        }

        public void setPlace(String place) {
            this.place = place;
        }

        public String getClassX() {
            return classX;
        }

        public void setClassX(String classX) {
            this.classX = classX;
        }

        public String getGender() {
            return gender;
        }

        public void setGender(String gender) {
            this.gender = gender;
        }

        public String getNumber() {
            return number;
        }

        public void setNumber(String number) {
            this.number = number;
        }

        public String getApplynumber() {
            return applynumber;
        }

        public void setApplynumber(String applynumber) {
            this.applynumber = applynumber;
        }

        public String getExpiration() {
            return expiration;
        }

        public void setExpiration(String expiration) {
            this.expiration = expiration;
        }

        public UfieldBean getUfield() {
            return ufield;
        }

        public void setUfield(UfieldBean ufield) {
            this.ufield = ufield;
        }

        public String getCredit() {
            return credit;
        }

        public void setCredit(String credit) {
            this.credit = credit;
        }

        public String getGuest() {
            return guest;
        }

        public void setGuest(String guest) {
            this.guest = guest;
        }

        public String getThumb() {
            return thumb;
        }

        public void setThumb(String thumb) {
            this.thumb = thumb;
        }

        public String getAttachurl() {
            return attachurl;
        }

        public void setAttachurl(String attachurl) {
            this.attachurl = attachurl;
        }

        public String getWidth() {
            return width;
        }

        public void setWidth(String width) {
            this.width = width;
        }

        public AuthorInfoBean getAuthor_info() {
            return author_info;
        }

        public void setAuthor_info(AuthorInfoBean author_info) {
            this.author_info = author_info;
        }

        public static class UfieldBean {
            /**
             * realname : {"key":"realname","title":"真实姓名"}
             * mobile : {"key":"mobile","title":"手机"}
             * company : {"key":"company","title":"公司"}
             * position : {"key":"position","title":"职位"}
             * field1 : {"key":"field1","title":"邮箱"}
             */

            private RealnameBeanX realname;
            private MobileBeanX mobile;
            private CompanyBeanX company;
            private PositionBeanX position;
            private Field1BeanX field1;

            public RealnameBeanX getRealname() {
                return realname;
            }

            public void setRealname(RealnameBeanX realname) {
                this.realname = realname;
            }

            public MobileBeanX getMobile() {
                return mobile;
            }

            public void setMobile(MobileBeanX mobile) {
                this.mobile = mobile;
            }

            public CompanyBeanX getCompany() {
                return company;
            }

            public void setCompany(CompanyBeanX company) {
                this.company = company;
            }

            public PositionBeanX getPosition() {
                return position;
            }

            public void setPosition(PositionBeanX position) {
                this.position = position;
            }

            public Field1BeanX getField1() {
                return field1;
            }

            public void setField1(Field1BeanX field1) {
                this.field1 = field1;
            }

            public static class RealnameBeanX {
                /**
                 * key : realname
                 * title : 真实姓名
                 */

                private String key;
                private String title;

                public String getKey() {
                    return key;
                }

                public void setKey(String key) {
                    this.key = key;
                }

                public String getTitle() {
                    return title;
                }

                public void setTitle(String title) {
                    this.title = title;
                }
            }

            public static class MobileBeanX {
                /**
                 * key : mobile
                 * title : 手机
                 */

                private String key;
                private String title;

                public String getKey() {
                    return key;
                }

                public void setKey(String key) {
                    this.key = key;
                }

                public String getTitle() {
                    return title;
                }

                public void setTitle(String title) {
                    this.title = title;
                }
            }

            public static class CompanyBeanX {
                /**
                 * key : company
                 * title : 公司
                 */

                private String key;
                private String title;

                public String getKey() {
                    return key;
                }

                public void setKey(String key) {
                    this.key = key;
                }

                public String getTitle() {
                    return title;
                }

                public void setTitle(String title) {
                    this.title = title;
                }
            }

            public static class PositionBeanX {
                /**
                 * key : position
                 * title : 职位
                 */

                private String key;
                private String title;

                public String getKey() {
                    return key;
                }

                public void setKey(String key) {
                    this.key = key;
                }

                public String getTitle() {
                    return title;
                }

                public void setTitle(String title) {
                    this.title = title;
                }
            }

            public static class Field1BeanX {
                /**
                 * key : field1
                 * title : 邮箱
                 */

                private String key;
                private String title;

                public String getKey() {
                    return key;
                }

                public void setKey(String key) {
                    this.key = key;
                }

                public String getTitle() {
                    return title;
                }

                public void setTitle(String title) {
                    this.title = title;
                }
            }
        }

        public static class AuthorInfoBean {
            /**
             * mPostName : 6032
             * name : 活动发布
             * desc :
             * avatar : http://8btc.com/uc_server/data/avatar/000/00/60/32_avatar_middle.jpg
             */

            private String id;
            private String name;
            private String desc;
            private String avatar;

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public String getDesc() {
                return desc;
            }

            public void setDesc(String desc) {
                this.desc = desc;
            }

            public String getAvatar() {
                return avatar;
            }

            public void setAvatar(String avatar) {
                this.avatar = avatar;
            }
        }
    }
}
